package com.carb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "修改物品传递的数据模型")
public class ItemUpdateDTO extends ItemAddDTO implements Serializable {

    @Schema(description = "物品id",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

}
